import Login from '../views/Login'
import Home from '../views/Home'
import Register from '../views/Register'
import HomePage from '../views/Personal/HomePage'
import Setting from '../views/Personal/Setting'
import Userevent from '../views/Personal/Event'
import Follows from '../views/Personal/Follows'
import Fans from '../views/Personal/Fans'
import Playlist from '../views/Playlist'
import Mymusic from '../views/Mymusic'
import Ranking from '../views/Ranking'
import myMessages from '../views/myMessages'
import Song from '../views/Song'
import Singer from '../views/Singer'
import LookMore from '../views/Personal/HomePage/LookMore'
import SearchPage from '../views/SearchPage'
import singerIntroce from '../views/SingerIntroce'
import SongList from '../views/SongList'

export default [
  {
    path: '/searchPage/:keyword',
    component: SearchPage
  },
  {
    path: '/login',
    component:Login
  },
  {
    path: '/home',
    name:'name',
    component: Home
  },
  {
    path: '/register',
    component: Register
  },
  {
    path: '/playlist',
    component: Playlist
  },
  {
    path: '/setting',
    component: Setting,
  },
  {
    path: '/mymusic',
    component: Mymusic,
  },
  {
    path: '/ranking',
    component: Ranking,
  },
  {
    path: '/mymessages',
    component: myMessages,
  },
  {
    path: '/song/:id/:songName',
    component: Song
  },
  {
    path: '/user/homepage',
    component: HomePage,
  },
  {
    path: '/lookmore',
    component: LookMore,
  },
  {
    path: '/user/event/:id',
    component: Userevent,
  },
  {
    path: '/user/follows/:id',
    component: Follows,
  },
  {
    path: '/user/fans/:id',
    component: Fans,
  },
  {
    path: '/singer',
    component: Singer,
  },
  {
    path: '/singerinttroduce/:id',
    component: singerIntroce,
  },
  {
    path: '/songlist/:imgIdx/:songListId',
    component: SongList,
  },
  {
    path: '*',
    redirect: '/home'
  },
]